< previous page page_286 next page >

Page 286
Tutorial 2
Memory, Where It All Begins
7017a6ead0e3c4111b47a554df321e9f.gif 7017a6ead0e3c4111b47a554df321e9f.gif
Warning to non-beginners:
7017a6ead0e3c4111b47a554df321e9f.gif 7017a6ead0e3c4111b47a554df321e9f.gif
This tutorial covers some very fundamental computer concepts. They may bore you terribly, but I include them here because I've run into a surprising number of Visual Basic programmers who do not understand them. It's not their faultVisual Basic makes it easy to skip the fundamentals, so there are lots of VB programmers who never learned things that any computer science student learns in the first semester in college, if not earlier
7017a6ead0e3c4111b47a554df321e9f.gif 7017a6ead0e3c4111b47a554df321e9f.gif
Though much of this book is quite advanced, it is my responsibility to make sure that all of the necessary information is here for those who need it. If you know this material already, greatbut you might want to skim through anyway. You never know what surprises I may have in store. . . .
Visual Basic. a language that revolutionized Windows programming. A language that is so easy to use that it seems anyone can write a great VB program with almost no training. Why, there are books out there that claim to be able to teach it in a mere 21 days! A language that doesn't require you to know anything about what is going on behind the scenes, right?
So let's say you need to store the number 5 in a program. What's the difference among the following variables?
Dim X As Integer
Dim L As Long
Dim F As Single
Dim D As Double
Dim C As Currency
Dim B As Byte
Dim V As Variant
Dim S As String
X=5
L=5

 
< previous page page_286 next page >